home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / arc / GNUtar15.lha / GNUtar / source.LHA / source / smakefile < prev    next >
Encoding:
Makefile  |  1996-11-13  |  1.6 KB  |  60 lines

  1. SRCS =    tar.c create.c extract.c mangle.c buffer.c getoldopt.c update.c gnu.c    \
  2.     version.c list.c diffarch.c port.c wildmat.c getopt.c getdate.c \
  3.     regex.c getopt1.c sas_amiga.c sas_amiga2.c
  4.  
  5. OBJS =    tar.o create.o extract.o mangle.o buffer.o getoldopt.o update.o gnu.o    \
  6.     version.o list.o diffarch.o port.o wildmat.o getopt.o getdate.o \
  7.     regex.o getopt1.o sas_amiga.o sas_amiga2.o
  8.  
  9. GNUTar: $(OBJS) 
  10.  
  11.     SLINK LIB:c.o,$(OBJS) TO GNUTar LIB LIB:sc.lib LIB:amiga.lib WITH REDEFINES.WTH 
  12.  
  13.     smake -f smakefile030
  14.     smake -f smakefile040
  15.     smake -f smakefile060
  16.  
  17.     Copy GNUTar /
  18.     Copy GNUTar030 /
  19.     Copy GNUTar040 /
  20.     Copy GNUTar060 /
  21.  
  22. tar.o:       tar.c
  23.              SC tar.c
  24. create.o:    create.c
  25.              SC create.c
  26. extract.o:   extract.c
  27.              SC DEFINE=BSD42 extract.c
  28. mangle.o:    mangle.c
  29.              SC DEFINE=BSD42 mangle.c
  30. buffer.o:    buffer.c
  31.              SC buffer.c
  32. getoldopt.o: getoldopt.c
  33.              SC getoldopt.c
  34. update.o:    update.c
  35.              SC update.c
  36. gnu.o:       gnu.c
  37.              SC gnu.c
  38. version.o:   version.c
  39.              SC version.c
  40. list.o:      list.c
  41.              SC list.c
  42. diffarch.o:  diffarch.c
  43.              SC DEFINE=BSD42 diffarch.c
  44. port.o:      port.c
  45.              SC port.c
  46. wildmat.o:   wildmat.c
  47.              SC wildmat.c
  48. getopt.o:    getopt.c
  49.              SC getopt.c
  50. getdate.o:   getdate.c
  51.              SC IGNORE=181 getdate.c
  52. regex.o:     regex.c
  53.              SC IGNORE=104 NOOPTGLOBAL regex.c
  54. getopt1.o:   getopt1.c
  55.              SC getopt1.c
  56. sas_amiga.o:   sas_amiga.c
  57.              SC sas_amiga.c
  58. sas_amiga2.o:   sas_amiga2.c
  59.              SC sas_amiga2.c
  60.